<!--{include wap_header}-->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=LtNzjYEh7CG06oStQeatWCTI"></script>
<body id="deal">

            <header class=" ">
                
                <h1>团购详情 • <a href="/wap">返回</a>
               </h1>
            </header>
         <!--{include wap_header}-->
<!--${$notice = Session::Get('notice', true)}-->
<!--{if $notice}-->
<p id="okMsg" >{$notice}</p>
<!--{/if}-->
<!--${$error = Session::Get('error', true)}-->
<!--{if $error}-->
<p id="okMsg"  >{$error}</p>
<!--{/if}-->
<div class="deal-box">		
        <div class="img">
            <img src="${team_image($team['image'], true)}" alt="图片载入中……">
            <div class="deal-tit">
                <h1>${mb_strimwidth($team['title'],0, 40,'...')}</h1> 
            </div>
        </div>	    
        <div id="J_slideBar" class="infor">
            <span class="price">{$currency}${moneyit($team['team_price'])}</span><span class="old-price">{$currency}${moneyit($team['market_price'])}</span>
              <!--{if $team['state']=='soldout'}--> <p class="c-submit" style="background-color:#C4C4C4;border: 1px solid #585858;"><a href="#" style="background-color:#8D8D8D">已售罄</a></p><!--{elseif $team['close_time']}--><p class="c-submit"><p class="c-submit" style="background-color:#C4C4C4;border: 1px solid #585858;"><a href="#" style="background-color:#8D8D8D">已结束</a></p></p><!--{else}-->  <a onClick="_gaq.push(['_trackEvent', 'deal_buy', 'click', 'down'])" class="buy-btn Right"  href="buy.php?id={$team['id']}">立即购买</a><!--{/if}-->
        </div>	
    </div>
            
    <div style="margin:0 10px;">


</div>







            <section class="deal-box" id="deal-details">
                <h1 gaevent="InnerLink|Click|touch/deal/details" class="tag">本单简介</h1>
                <div class="tab-box" style="display:block;">
                <style type="text/css">
.tab-box table{width: 98%;}.tab-box .ml-10{ margin-left:10px;}.tab-box .mr-10{ margin-right:5px;}.tab-box .yuanjia, .tab-box .mltj {font-size: 14px;padding-top: 3px;padding-right: 5px;padding-bottom: 3px;padding-left: 0px;}.tab-box  .mltjg{color: #cc0000}
</style>
{$team['summary']}
              </div><div style="float:left;"><ul class="refund">
				<!--{if $team['sst']==1}-->
                    <li><a href="/" target="_blank" title="支持“未消费随时无条件退款”"><span class="refund7"></span>支持随时退</a></li>
				<!--{else}-->
			        <li><a href="/" target="_blank" title="支持“未消费随时无条件退款”"><span class="refund7"></span>不支持随时退</a></li>
				<!--{/if}-->
				<!--{if $team['gqt']==1}-->
                    <li><a href="/" target="_blank" title="支持 “过期未消费，一键退款”"><span class="refundout"></span>支持过期退</a></li>
				<!--{else}-->
				    <li><a href="/" target="_blank" title="支持 “过期未消费，一键退款”"><span class="refundout"></span>不支持过期退</a></li>
				<!--{/if}-->
		         </ul> </div>
		  <div class="deal-time" style=" float:right;">
				  
				  <!--{if $team['close_time']}-->
				     <p><span>结束于 ${date('Y-m-d', $team['close_time'])} ${date('H:i:s', $team['close_time'])}</span></p>
				  <!--{else}-->
				  <div  id="deal-timeleft" class="deal-box deal-timeleft deal-on" curtime="{$now}000" diff="{$diff_time}000">
						 <ul id="counter">    <p class="deal-status"><strong>{$team['now_number']}</strong>人已购买</p>
						<!--{if $left_day>0}-->
							<span>剩余时间：</span>3天以上
						<!--{else}-->
							<span>{$left_hour}</span>小时{$left_minute}分钟{$left_time}秒
						<!--{/if}-->
						</ul>
				  </div>	 
				  <!--{/if}--> 			
			      </div>
            </section>
			
			<div class="Box nom-box shop-box">
	<h1 gaevent="InnerLink|Click|touch/deal/details" class="tag"><a href="/wap/detail_partner.php?id={$partner['id']}" ><span style="color:#84592F;">{$partner['title']}</span></a></h1>
	    <p>地址：{$partner['address']}</p>
    <table width="100%" cellpadding="0" cellspacing="0">
    <tr>
        <td>
          
            <div class="infor">
                <div class="score Fix"><span class="item-rank-rst irr-star45"></span></div>
              
               <div class="infor" style="font-size:1.5em;">
             <a href="http://api.map.baidu.com/marker?location={$partner['longlat']}&title={$partner['title']}&content={$partner['title']}&output=html"><span style="background:url(/wap/images/daohang.png) no-repeat; padding-left:22px;">一键导航</span></a> </div>

 
            </div>
            
        </td>
        
        <td width="55" align="center" valign="middle">
        	<a class="go" href="tel:{$partner['phone']}" onClick="_gaq.push(['_trackEvent', 'deal_shop', 'click', 'call'])"></a>
        </td>
    </tr>
    </table>
</div>
			
			
        <section class="deal-box">
    <h1 gaevent="InnerLink|Click|touch/deal/moreinfo" id="deal-more" onClick="return deal_more({$team['id']});" data-href="detail.php?id={$team['id']}">查看更多详情</h1>
</section>
<script>
function deal_more(id){
if(confirm("团购详情图片较多，可能会消耗较多流量，是否继续访问？"))
{
       window.location.href='detail.php?id='+id;
}
else
{
return true;
}
}
</script>



<div style="margin:0 10px;">
  <!--{if $team['state']=='soldout'}--> <p class="c-submit" style="background-color:#C4C4C4;border: 1px solid #585858;"><a href="#" style="background-color:#8D8D8D">已售罄</a></p><!--{elseif $team['close_time']}--><p class="c-submit"><p class="c-submit" style="background-color:#C4C4C4;border: 1px solid #585858;"><a href="#" style="background-color:#8D8D8D">已结束</a></p></p><!--{else}-->
  <p class="c-submit"><a gaevent="InnerLink|Click|touch/button/buy" href="buy.php?id={$team['id']}" >立即购买</a></p>
  <!--{/if}--></div></div>


<!--{include wap_footer}-->
